//
//  MBBaseController.h
//  mibaotu
//
//  Created by 彭康 on 16/9/14.
//  Copyright © 2016年 pegnk. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface MBBaseController : UIViewController

@property (nonatomic,assign)UIDeviceOrientation orientation;

//返回按钮
- (void)setBackItem;
- (void)back;
//添加左导航视图
- (void)setLeftBarItem:(UIView *)view;
- (void)setRightBarItems:(UIView *)view;
//标题
- (void)setTitleView:(NSString *)title;
- (void)setTitleText:(NSString *)title Color:(UIColor *)color;

- (void)onUpdateUIForView:(UIDeviceOrientation)orientation;

//播放音乐
- (void)onPlayMusic;

- (void)setRightPlayerItem;

- (UIImage *)getCenterImg:(UIImage *)image withImgView:(UIImageView *)_bgImgView;

@end
